package com.ztesoft.huangfu.learning.springboot.springbootcommon.annonation;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Created with IntelliJ IDEA.
 * Author: huangfu.daohui
 * Date: 2018/7/9
 * Time: 13:57
 * Version: 1.0
 * Description:
 **/
@Target( {  FIELD ,PARAMETER})
@Retention(RUNTIME)
public @interface MsgCode {

    int value() default -1;
}
